Method and apparatus for wake-up control of intelligent terminal

ABSTRACT

Embodiments provide a method and an apparatus for wake-up control of an intelligent terminal. At least two alarm set indications are sent by one or more applications of the intelligent terminal. The alarm set indication is used to indicate a first alarm wake-up time determined by the application for waking up the intelligent terminal. At least two of the at least two first alarm wake-up times corresponding to the at least two alarm set indications are delayed until a second alarm wake-up time. The second alarm wake-up time is determined according to preset adjustment control information. The intelligent terminal is woken at the second alarm wake-up time.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.15/071,598, filed on Mar. 16, 2016, which is a continuation of U.S.patent application Ser. No. 14/136,777, filed on Dec. 20, 2013, now U.S.Pat. No. 9,323,228, which is a continuation of International ApplicationNo. PCT/CN2012/080883, filed on Aug. 31, 2012, all of which are herebyincorporated by reference in their entireties.

TECHNICAL FIELD

The present invention relates to communication technologies and, inparticular embodiments, to a method and an apparatus for wake-up controlof an intelligent terminal.

BACKGROUND

Along with the popularization of an intelligent terminal, a consumer hasincreasingly large demand on the intelligent terminal, and also hasincreasingly high requirement on the intelligent terminal. By taking asmart phone in the intelligent terminal as an example, a user generallyrequires that an application, such as a mobile QQ, on the smart phonealways keeps online, so that the user can receive a message at any time.However, if the application intends to always keep online, regularinteraction with a network server is required. During the usage processof the smart phone, the phone is in a dormant state periodically to savethe power consumption, and in order to satisfy the requirement ofregular interaction with the network server, a phone system needs to bewoken from the dormant state first, and then the phone can interact withthe network server.

In specific implementation, each application on the smart phonegenerally has a function of alarm set, the application sends an alarmset indication (including an alarm set time) to an alarm manager serviceunit (Alarm Manager Service) on the smart phone, and the alarm managerservice unit sets the alarm according to the indication and wakes up thesmart phone from the dormant state at the time indicated by the alarm.Moreover, each application has an alarm, and the alarm manager serviceunit wakes up the phone in response to the alarm set indication of eachapplication, respectively. However, many applications are set on thesmart phone, the applications set the alarms continuously for regularinteraction with the network server and causes frequent wake-up of thesmart phone, and the wake-up causes relatively large power consumptionof the phone, thereby reducing the standby time of the smart phone.

SUMMARY

The present invention provides a method and an apparatus for wake-upcontrol of an intelligent terminal, so as to reduce power consumption ofthe intelligent terminal.

A first aspect of embodiments of the present invention provides awake-up control method for an intelligent terminal. At least two alarmset indications are sent by one or more applications of the intelligentterminal. The alarm set indication is used to indicate a first alarmwake-up time determined by the application for waking up the intelligentterminal. At least two of the at least two first alarm wake-up timescorresponding to the at least two alarm set indications are delayeduntil a second alarm wake-up time. The second alarm wake-up time isdetermined according to preset adjustment control information. Theintelligent terminal is welcome at the second alarm wake-up time.

With reference to the first aspect, in a first possible implementationmanner of the first aspect, the adjustment control information isperiodically set heartbeat moments, the periodically set heartbeatmoments include an N^(th) heartbeat moment and an (N+1)^(th) heartbeatmoment that are adjacent to each other, the time of the (N+1)^(th)heartbeat moment is later than that of the N^(th) heartbeat moment, andthe N is a natural number. The delaying at least two of multiple firstalarm wake-up times until the second alarm wake-up time determinedaccording to the preset adjustment control information includes, when atleast two of the first alarm wake-up times exist between the N^(th)heartbeat moment and the (N+1)^(th) heartbeat moment, delaying at leasttwo of the at least two first alarm wake-up times between the N^(th)heartbeat moment and the (N+1)^(th) heartbeat moment until the(N+1)^(th) heartbeat moment, where the (N+1)^(th) heartbeat moment isthe second alarm wake-up time.

With reference to the first possible implementation manner of the firstaspect, in a second possible implementation manner, a period of theheartbeat moment is set according to a longest tolerant delay time ofthe application.

With reference to the first aspect, in a third possible implementationmanner, the adjustment control information is a longest tolerant delaytime of the first alarm wake-up time; the second alarm wake-up time isthe first alarm wake-up time with the latest time in the at least twofirst alarm wake-up times and is in a range of a longest tolerant delaytime of the other first alarm wake-up time in the at least two firstalarm wake-up times.

With reference to the third possible implementation manner of the firstaspect, in a fourth possible implementation manner, the delaying atleast two of the at least two first alarm wake-up times to the secondalarm wake-up time includes determining whether the first alarm wake-uptime corresponding to the currently received alarm set indication is inthe range of the longest tolerant delay time, and the longest tolerantdelay time including longest tolerant delay times which correspond tothe other first alarm wake-up times before the first alarm wake-up time,respectively. If a judgment result is yes, the delaying at least two ofthe at least two first alarm wake-up times to the second alarm wake-uptime includes delaying the other first alarm wake-up times until thefirst alarm wake-up time, and the first alarm wake-up time being thesecond alarm wake-up time; otherwise, the delaying at least two of theat least two first alarm wake-up times to the second alarm wake-up timeincludes determining the first alarm wake-up time with the latest timein the other first alarm wake-up times as the second alarm wake-up time,and delaying the other first alarm wake-up times until the second alarmwake-up time.

With reference to the first aspect, in a fifth possible implementationmanner, the adjustment control information is the longest tolerant delaytime of the first alarm wake-up time, the second alarm wake-up time isan earliest one in delayed times corresponding to the at least two firstalarm wake-up times, and the delayed time is obtained after delaying thefirst alarm wake-up time by the corresponding longest tolerant delaytime.

With reference to the first aspect, and any implementation manner of thefirst possible implementation manner of the first aspect to the fifthpossible implementation manner of the first aspect, in a sixth possibleimplementation manner, the delaying the first alarm wake-up time untilthe second alarm wake-up time determined according to the presetadjustment control information includes: modifying at least two of theat least two first alarm wake-up times corresponding to the at least twoalarm set indications into the second alarm wake-up time determinedaccording to the preset adjustment control information.

A second aspect of embodiments of the present invention provides awake-up control method for an intelligent terminal. The method includesreceiving an alarm set indication sent by an application of theintelligent terminal, where the alarm set indication is used to indicatea first alarm wake-up time determined by the application for waking upthe intelligent terminal, and a first time exists as an interval betweenthe first alarm wake-up time and a first alarm wake-up time receivedlast time. The method also includes delaying the first alarm wake-uptime until a second alarm wake-up time, where the second alarm wake-uptime is an earliest heartbeat moment after the first alarm wake-up timein periodically set heartbeat moments, a set period of the heartbeatmoment is a second time, and the second time is longer than the firsttime, and waking up the intelligent terminal at the second alarm wake-uptime.

A third aspect of embodiments of the present invention provides awake-up control apparatus for an intelligent terminal. The apparatusincludes an indication receiving unit, configured to receive at leasttwo alarm set indications sent by one or more applications of theintelligent terminal. The alarm set indication is used to indicate afirst alarm wake-up time determined by the application for waking up theintelligent terminal. The apparatus also includes a wake-up controlunit, configured to delay at least two of at least two first alarmwake-up times corresponding to the at least two alarm set indications,until a second alarm wake-up time determined according to presetadjustment control information, and wake up the intelligent terminal atthe second alarm wake-up time.

With reference to the third aspect, in a first possible implementationmanner of the third aspect, the wake-up control unit includes aninformation storage subunit. The information storage subunit isconfigured to store the preset adjustment control information. Theadjustment control information is periodically set heartbeat moments.The periodically set heartbeat moments include an N^(th) heartbeatmoment and an (N+1)^(th) heartbeat moment that are adjacent to eachother. The time of the (N+1)^(th) heartbeat moment is later than that ofthe N^(th) heartbeat moment, and N is a natural number. The wake-upcontrol unit also includes a delay processing subunit, configured todelay at least two of the at least two first alarm wake-up times betweenthe N^(th) heartbeat moment and the (N+1)^(th) heartbeat moment untilthe (N+1)^(th) heartbeat moment, where the (N+1)^(th) heartbeat momentis the second alarm wake-up time, and the at least two first alarmwake-up times exist between the N^(th) heartbeat moment and the(N+1)^(th) heartbeat moment. The wake-up control unit also includes awake-up triggering subunit, configured to control waking up theintelligent terminal at the second alarm wake-up time.

With reference to the third aspect, in a second possible implementationmanner of the third aspect, the wake-up control unit includes aninformation storage subunit, configured to store the preset adjustmentcontrol information, where the adjustment control information is alongest tolerant delay time of the first alarm wake-up time. The wake-upcontrol unit also includes a delay processing subunit, configured todelay at least two of the at least two first alarm wake-up times until asecond alarm wake-up time, where the second alarm wake-up time is thefirst alarm wake-up time with the latest time in the at least two firstalarm wake-up times and is in a range of a longest tolerant delay timeof the other first alarm wake-up time in the at least two first alarmwake-up times; and a wake-up triggering subunit, configured to wake upthe intelligent terminal at the second alarm wake-up time.

With reference to the second possible implementation manner of the thirdaspect, in a third possible implementation manner, the delay processingsubunit includes a tolerance judging subunit is configured to judgewhether the first alarm wake-up time corresponding to the currentlyreceived alarm set indication is in the range of the longest tolerantdelay time, and the longest tolerant delay time including longesttolerant delay times corresponding to other first alarm wake-up timesbefore the first alarm wake-up time. A delay determining subunit isconfigured to, when a judgment result is yes, delay the other firstalarm wake-up times until the first alarm wake-up time. The first alarmwake-up time is the second alarm wake-up time. Otherwise, the delaydetermining subunit is configured to determine the first alarm wake-uptime with the latest time in the other first alarm wake-up times to bethe second alarm wake-up time, and delay the other first alarm wake-uptimes until the second alarm wake-up time. The other first alarm wake-uptimes are at least two of the first alarm wake-up times.

With reference to the third aspect, in a fourth possible implementationmanner, the wake-up control unit includes an information storage subunitis configured to store the preset adjustment control information. Theadjustment control information is a longest tolerant delay time of thefirst alarm wake-up time. A delay processing subunit is configured todelay at least two of the at least two first alarm wake-up times until asecond alarm wake-up time, where the second alarm wake-up time is anearliest one in delayed times corresponding to the at least two firstalarm wake-up times, and the delayed time is obtained after delaying thefirst alarm wake-up time by the corresponding longest tolerant delaytime. A wake-up triggering subunit is configured to wake up theintelligent terminal at the second alarm wake-up time.

With reference to the third aspect, and any implementation manner of thefirst possible implementation manner of the third aspect to the fourthpossible implementation manner of the third aspect, in a fifth possibleimplementation manner, the wake-up control unit is specificallyconfigured to modify at least two of the at least two first alarmwake-up times corresponding to the at least two alarm set indicationsinto the second alarm wake-up time determined according to the presetadjustment control information.

A fourth aspect of embodiments of the present invention provides awake-up control apparatus for an intelligent terminal. The apparatusincludes an indication receiving unit, configured to receive an alarmset indication sent by an application of the intelligent terminal, wherethe alarm set indication is used to indicate a first alarm wake-up timedetermined by the application for waking up the intelligent terminal,and a first time exists as an interval between the first alarm wake-uptime and a first alarm wake-up time received last time. The apparatusalso includes a wake-up control unit, configured to delay the firstalarm wake-up time until a second alarm wake-up time, where the secondalarm wake-up time is an earliest heartbeat moment after the first alarmwake-up time in periodically set heartbeat moments, a set period of theheartbeat moment is a second time, and the second time is longer thanthe first time. The wake-un control unit is also configured to wake upthe intelligent terminal at the second alarm wake-up time.

The technical effect of the method and the apparatus for wake-up controlof the intelligent terminal provided in embodiments of the presentinvention is that: by delaying, multiple first alarm wake-up timesdetermined by the application until the second alarm wake-up time, theintelligent terminal is woken only at the second alarm wake-up time.Therefore, as compared with conventional solutions where the intelligentterminal is woken at multiple first alarm wake-up times, the number ofwake-ups of the intelligent terminal is significantly reduced, therebyreducing the power consumption of the intelligent terminal.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention, and theadvantages thereof, reference is now made to the following descriptionstaken in conjunction with the accompanying drawings, in which:

FIG. 1 is an architectural diagram of an application system of anembodiment of a wake-up control method for an intelligent terminal ofembodiments of the present invention;

FIG. 2 is a schematic flow chart of an embodiment of a wake-up controlmethod for an intelligent terminal of embodiments of the presentinvention;

FIG. 3 is a schematic flow chart of another embodiment of a wake-upcontrol method for an intelligent terminal of embodiments of the presentinvention;

FIG. 4 is an initial timing and sequence diagram of an alarm in anotherembodiment of a wake-up control method for an intelligent terminal ofembodiments of the present invention;

FIG. 5 is a schematic diagram of heartbeat moment setting in anotherembodiment of a wake-up control method for an intelligent terminal ofembodiments of the present invention;

FIG. 6 is a schematic diagram of merging of alarm wake-up times inanother embodiment of a wake-up control method for an intelligentterminal of embodiments of the present invention;

FIG. 7 is a schematic flow chart of another embodiment of a wake-upcontrol method for an intelligent terminal of embodiments of the presentinvention;

FIG. 8 is a schematic diagram of merging of alarm wake-up times inanother embodiment of a wake-up control method for an intelligentterminal of embodiments of the present invention;

FIG. 9 is a first schematic diagram of electricity consumption in anembodiment of a wake-up control method for an intelligent terminal ofembodiments of the present invention;

FIG. 10 is a second schematic diagram of electricity consumption in anembodiment of a wake-up control method for an intelligent terminal ofembodiments of the present invention;

FIG. 11 is a schematic structural diagram of an embodiment of a wake-upcontrol apparatus for an intelligent terminal of embodiments of thepresent invention;

FIG. 12 is a schematic structural diagram of another embodiment of awake-up control apparatus for an intelligent terminal of embodiments ofthe present invention;

FIG. 13 is a schematic structural diagram of another embodiment of awake-up control apparatus for an intelligent terminal of embodiments ofthe present invention; and

FIG. 14 is a schematic structural diagram of an intelligent terminalapplied by a wake-up control apparatus for an intelligent terminal ofembodiments of the present invention.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

In order to make illustration of a wake-up control method for anintelligent terminal in embodiments of the present invention clearer,system architecture applied by the method is provided first. FIG. 1 isan architectural diagram of an application system of an embodiment of awake-up control method for an intelligent terminal of embodiments of thepresent invention. As shown in FIG. 1, multiple applications generallyrun in the intelligent terminal, for example, an application 1, anapplication 2, an application 3, and an application 4. The applications,for example, can be a mobile QQ, or Tencent WeChat. The system furtherincludes an alarm manager service unit (Alarm Manager Service), and anoperating system, and so on. The intelligent terminal further includesanother conventional structure, and the another structure is not furtherillustrated in FIG. 1.

The Alarm Manager Service is configured to provide an alarm managerservice, and specifically, according to the indications of theapplications, wake up the intelligent terminal in a dormant state at analarm wake-up time indicated by an application. As such, the intelligentterminal can connect to a network server of the application, therebysatisfying the interaction requirement of the application and thenetwork server. In specific implementation, the wake-up may be triggeredthrough setting on the operating system by the Alarm Manager Service.The alarm is similar to an alarm clock, and an alarm expiration time issimilar to the time when the alarm goes off, where the time when thealarm goes off is set by the alarm. As long as the alarm expiration timeis reached, it indicates that the alarm expires and then the waking upof the operating system is executed. In order to indicate more visuallythat the wake-up is executed at the alarm expiration time, in theembodiments of the present invention, the alarm expiration time isreferred to as an alarm wake-up time.

The wake-up control method for the intelligent terminal of embodimentsof the present invention is described in detail in the following, andthe method is described from the perspective of execution of the AlarmManager Service.

A first embodiment will now be described. FIG. 2 is a schematic flowchart of an embodiment of a wake-up control method for an intelligentterminal of embodiments of the present invention, and the method isexecuted by an Alarm Manager Service. As shown in FIG. 2, the method mayinclude the following steps.

201: Receive at least two alarm set indications sent by an applicationof the intelligent terminal.

Multiple applications generally run on the intelligent terminal, forexample, the application 1, the application 2, the application 3, andthe application 4. The application needs to interact with a networkserver regularly to satisfy the online requirement of an end user, andtherefore, the applications set an alarm continuously so as to wake upthe intelligent terminal in a dormant state at the alarm wake-up timespecified by the Alarm and connect to the network server.

In specific implementation, the application setting the Alarm isimplemented by sending a request to the Alarm Manager Service, theapplication sends an alarm set indication to the Alarm Manager Service,the indication is used to wake up the intelligent terminal at a specifictime, and the specific time refers to the alarm wake-up time. The timedetermined by the application may be referred to as a first alarmwake-up time. It should be noted that, in an embodiment of the presentinvention, the first alarm wake-up time refers to the time that can bedelayed, for example, if the time corresponding to the alarm setindication sent by a certain application is not allowed to be delayed(which may be specifically determined by the work of the application),the time cannot be referred to as the first alarm wake-up time.

For example, the application may carry in the indication a specificmoment of the alarm wake-up time, for example, at 5 minutes and 20seconds. The Alarm Manager Service sets the alarm wake-up timeaccordingly, that is, sets the Alarm to wake up the system at 5 minutesand 20 seconds (it is assumed that the system is in the dormant state),and connects to the server to perform data service (if it is required bythe application). If the application, when setting the Alarm, indicatesthat the alarm is periodical, when the Alarm expires, that is, the alarmwake-up time is reached, the Alarm Manager Service automatically sets anext Alarm expiration time, that is, the alarm wake-up time. As for acertain alarm of a single application, the alarm set indication isgenerally sent one by one, for example, an indication is sent to theAlarm Manager Service at a certain moment, so as to indicate the alarmwake-up time of a first Alarm, and after the first Alarm expires, anindication is sent to the Alarm Manager Service again, so as to indicatethe alarm wake-up time of a second Alarm. Therefore, the Alarm ManagerService sets the Alarms one by one according to the indications of theapplication.

The multiple alarm set indications sent by the application in thisembodiment may be multiple alarm set indications sent by oneapplication, and may also be multiple alarm set indications sent by morethan one application. Generally, the multiple alarm set indications maybe sent by multiple applications, respectively. For example, anindication 1 is sent by the application 1, an indication 2 is sent bythe application 2, an indication 3 is sent by the application 3, anindication 4 is sent by the application 4, and the indication 1 to theindication 4 are the multiple alarm set indications. Moreover, themultiple alarm set indications generally have different alarm wake-uptimes. For example, indication 1 may indicate expiring at 5 minutes and20 seconds, indication 2 may indicate expiring at 6 minutes and 30seconds, indication 3 may indicate expiring at 9 minutes and 10 seconds,and so on. The specific set time is determined by the applications, andeven if a part of the wake-up times in the alarm wake-up times indicatedby the multiple alarm set indications are the same, the processing isstill executed according to the wake-up control method of thisembodiment.

202: According to preset adjustment control information, delay, at leasttwo of the at least two first alarm wake-up times corresponding to theat least two alarm set indications, until a second alarm wake-up time.

In this embodiment, the at least two first alarm wake-up timescorrespond to the at least two alarm set indications, and each alarm setindication indicates a first alarm wake-up time. The Alarm ManagerService may merge the first alarm wake-up times of the received at leasttwo alarm set indications, for example, may merge the times at a certainmoment, and the alarm expires at the moment, that is, executes thewake-up. Specifically, at least two of the at least two first alarmwake-up times may be delayed for wake-up, for example, when three ormore first alarm wake-up times exist, two first alarm wake-up timesamong them may be delayed for performing the wake-up, and more than twofirst alarm wake-up times may also be delayed for wake-up, or all of thefirst alarm wake-up times are delayed for wake-up.

For example, the indication 1 indicates expiring at 5 minutes and 20seconds, the indication 2 indicates expiring at 6 minutes and 30seconds, the indication 3 indicates expiring at 9 minutes and 10seconds, and the indication 4 indicates expiring at 10 minutes and 05seconds. Therefore, the Alarm Manager Service may delay all the timesset by the indication 1 to the indication 4, the Alarm Manager Servicemay determine to expire at 11 minutes and 02 seconds, and do not expire,that is, do not perform wake-up, at the times indicated by theindication 1 to the indication 4. The intelligent terminal is woken at11 minutes and 02 seconds, the application 1 to application 4corresponding to the indication 1 to indication 4, respectively, may allrun at this moment and interact with respective network servers, andafter the four applications complete the interaction, the connectionwith the network server is broken.

The Alarm Manager Service delays the first alarm wake-up times accordingto preset adjustment control information, and the time for merging themultiple delayed first alarm wake-up times may be referred to as asecond alarm wake-up time. The second alarm wake-up time is determinedaccording to the adjustment control information. For example, when theadjustment control information is multiple periodically set heartbeatmoments, the second alarm wake-up time may be one of the heartbeatmoments. When the adjustment control information is a longest tolerantdelay time of a certain application, the second alarm wake-up time maybe a certain first alarm wake-up time in the range of the longesttolerant delay time. The specific adjustment may be referred todescription of Embodiment 2 and Embodiment 3. The longest tolerant delaytime is the longest delay time which can be tolerated withoutinfluencing the normal running of the application.

In an embodiment of the present invention, the manner of delaying thefirst alarm wake-up time until the second alarm wake-up time isillustrated by taking modifying the first alarm wake-up time into thesecond alarm wake-up time as an example. However, in specificimplementation, another delay manner may also be used. For example, thefirst alarm wake-up time is not modified, but the wake-up is notexecuted, and the wake-up is executed until the second alarm wake-uptime.

203: Wake up the intelligent terminal at the second alarm wake-up time.

The Alarm Manager Service wakes up the intelligent terminal at thedetermined second alarm wake-up time.

In the following Embodiment 2 and Embodiment 3, two feasible delaymanners for the alarm wake-up time are illustrated by examples,respectively. A smart phone adopting an Android system is taken as anexample. However, the method in the embodiment of the present inventionis not limited to this. For example, the method may further be appliedto a similar intelligent terminal with another system, such as a smarttablet computer and an Ultrabook, which can similarly achieve the effectof reducing the power consumption of the terminal.

Embodiment 2 will now be described. FIG. 3 is a schematic flow chart ofanother embodiment of a wake-up control method for an intelligentterminal of embodiments of the present invention. Adjustment controlinformation in this embodiment is periodically set heartbeat moments.The periodical heartbeat moments may have a fixed time interval. Asecond alarm wake-up time is determined according to the heartbeatmoment. For example, the heartbeat moments include an N^(th) heartbeatmoment and an (N+1)^(th) heartbeat moment that are adjacent to eachother, the time of the (N+1)^(th) heartbeat moment is later than that ofthe N^(th) heartbeat moment, and N is a natural number. At least two inmultiple first alarm wake-up times between the N^(th) heartbeat momentand the (N+1)^(th) heartbeat moment may be delayed until the (N+1)^(th)heartbeat moment, and the (N+1)^(th) heartbeat moment is the secondalarm wake-up time.

Specifically, as shown in FIG. 3, the method may include.

301: Receive multiple alarm set indications sent by an application ofthe intelligent terminal.

Reference will now be made to FIG. 4. FIG. 4 is an initial timing andsequence diagram of an alarm in another embodiment of a wake-up controlmethod for an intelligent terminal of embodiments of the presentinvention. FIG. 4 shows multiple first alarm wake-up times (each upwardarrow line indicates a first alarm wake-up time) sent by applications ona time axis. It should be noted that, in this embodiment, multiple firstalarm wake-up times in a period of time are displayed at the same time,but actually, only one or several few first alarm wake-up times possiblyexist on the time axis at a certain moment. For example, it is assumedthat FIG. 4 shows a time period from the moment at 3 minutes and 10seconds to the moment at 9 minutes and 20 seconds, and it is assumedthat a first arrow line indicates that the moment at 3 minutes and 20seconds is a first alarm wake-up time 41 set by an application 1, andother first alarm wake-up times are received subsequently, for example,a first alarm wake-up time 42 is received after the first alarm wake-uptime 41. That is, FIG. 4 shows multiple first alarm wake-up timesappeared on the time axis in a certain period of time only for theclarity of the description of the method, but the multiple first alarmwake-up times may be received successively. The indications of the firstalarm wake-up times are determined by the applications themselves, andthe Alarm Manager Service only receives the first alarm wake-up times.

Referring to FIG. 4, multiple alarm set indications sent by theapplication in this embodiment are assumed to be multiple alarm setindications sent by multiple applications, respectively. For example, afirst alarm wake-up time 41 is an alarm time indicated by theapplication 1, a first alarm wake-up time 42 is an alarm time indicatedby an application 2, a first alarm wake-up time 43 is an alarm timeindicated by an application 3, and so on. Moreover, the applications mayrequire regular interaction with a network server. The application mayindicate the first alarm wake-up time periodically, for example, a firstalarm wake-up time 44 in FIG. 4 is possibly indicated by the application1 again. That is to say, the application 1 periodically instructs theAlarm Manager Service to set the alarm to wake up the intelligentterminal. It can be seen from FIG. 4 that, multiple first alarm wake-uptimes on the time axis are different, for example, the first alarmwake-up time 41 is at 3 minutes and 20 seconds, and the first alarmwake-up time 42 is at 3 minutes and 50 seconds.

302: Delay the multiple first alarm wake-up times until a firstheartbeat moment, where the first heartbeat moment is a first heartbeatmoment later than every first alarm wake-up time, and the firstheartbeat moment is the second alarm wake-up time.

In this embodiment, multiple first alarm wake-up times on the time axisshown in FIG. 4 are delayed, and the multiple first alarm wake-up timesare merged to the same heartbeat moment. A specific manner is asfollows. FIG. 5 is a schematic diagram of heartbeat moment setting inanother embodiment of a wake-up control method for an intelligentterminal of the present invention. As shown in FIG. 5, dashed arrowlines represent heartbeat moments. The heartbeat moments are some alarmwake-up times additionally set by the Alarm Manager Service beyond thefirst alarm wake-up times sent by the applications in this embodiment,such as, a heartbeat moment 51, a heartbeat moment 52, and a heartbeatmoment 53. The heartbeat moments are set periodically in thisembodiment, that is, have a fixed interval, for example, a heartbeatmoment may be set every 5 minutes.

FIG. 6 is a schematic diagram of merging of alarm wake-up times inanother embodiment of a wake-up control method for an intelligentterminal of embodiments of the present invention. FIG. 6 shows a stateafter the multiple first alarm wake-up times are all delayed until thesame heartbeat moment. The method of this embodiment is illustrated inthe following with reference to FIG. 5 and FIG. 6.

In specific implementation, the Alarm Manager Service may delay thereceived first alarm wake-up time until the first heartbeat moment thatis later than the first alarm wake-up time by adopting the followingalgorithm: Tx_new=T0+T*[(Tx−T0)/T+1]; where TX is a certain first alarmwake-up time, Tx_new is the time after the TX is delayed (actually, itis also the time when the TX is delayed until the first heartbeatmoment), T0 is the first heartbeat moment on the time axis shown in FIG.6, and T is a set period of the heartbeat moment. By taking the firstalarm wake-up time 41 as an example, according to the foregoing formula,(Tx−T0)/T should be a fraction less than 1, for example, 0.25, and inthis case, the result should be rounded, that is, a value of 0 isobtained, and then, Tx_new=T0+T*(0+1)=T0+T=T1 is obtained. That is, thefirst alarm wake-up time 41 is to be delayed until T1. By taking a firstalarm wake-up time 46 as another example, according to the foregoingformula, (Tx−T0)/T should be a fraction greater than 3, for example,3.4, the result is rounded to obtain a value of 3, and thenTx_new=T0+T*(3+1)=T0+T*4=T4 is obtained. That is, the first alarmwake-up time 46 is to be delayed to T4.

Particularly, a certain first alarm wake-up time TX may actually justoverlap a certain heartbeat moment, it is assumed that the TX justoverlaps the heartbeat moment T2, if determine according to theforegoing formula, Tx_new=T0+T*[2+1]=T0+T*3=T3. Alternatively,preferentially, adjustment may not be performed on the first alarmwake-up time TX, the Alarm Manager Service may first calculate(Tx−T0)/T, and judge whether the result is an integer. If the result isan integer, it indicates that the TX just overlaps a certain heartbeatmoment, and the Alarm Manager Service does not adjust the TX. Otherwise,if the result is not an integer, the Alarm Manager Service continuouslydetermines, according to the foregoing formula, the heartbeat momentuntil which the TX is delayed, for example, modifies TX into TX_new.

What is illustrated in the foregoing is only an optional algorithm fordetermining the heartbeat moment until which the first alarm wake-uptime is delayed, and specific implementation is not limited to this, aslong as the Alarm Manager Service can delay multiple first alarm wake-uptimes until the first heartbeat moment. For example, after receiving thefirst alarm wake-up time, the Alarm Manager Service may compare thefirst alarm wake-up time with heartbeat moments. Because the heartbeatmoments are determined by the Alarm Manager Service itself, the AlarmManager Service can know the location of each heartbeat moment. As such,the Alarm Manager Service can determine that the first alarm wake-uptime is between which two heartbeat times, and can determine which firstheartbeat moment is after the first alarm wake-up time, so as to delaythe first alarm wake-up time until the heartbeat moment. For example,the Alarm Manager Service may determine that the first alarm wake-uptime 41 is between T0 and T1 (since the Alarm Manager Service knows themoments of T0, T1, and the first alarm wake-up time 41, and many mannersmay be used to specifically judge that the first alarm wake-up time 41is between T0 and T1, for example, performing time comparison), so thatthe Alarm Manager Service modifies the first alarm wake-up time 41 intoT1, that is, delays the first alarm wake-up time 41 until T1.

In this embodiment, with reference to what are shown in FIG. 5 and FIG.6, four first alarm wake-up times (the four shown by W in FIG. 6) aremerged at the heartbeat moment T1, two first alarm wake-up times aremerged at the heartbeat moment T2, and four first alarm wake-up timesare merged at the heartbeat moments T3 and T4, respectively. Accordingto the original alarm set timing and sequence (the timing and sequencein FIG. 4) on the time axis, the intelligent terminal is woken for 14times (this is because an alarm is set at the location of each firstalarm wake-up time, and the intelligent terminal is woken accordingly),and after the merging of this embodiment, the multiple first alarmwake-up times are all delayed to a certain heartbeat moment, and theintelligent terminal is only woken for 5 times. That is, Alarm is setonly at the moment of T0, T1, T2, T3 and T4 shown in FIG. 6, to wake upthe intelligent terminal, thereby greatly reducing the system powerconsumption of the intelligent terminal.

It should be noted that, the set period of the heartbeat moment in thisembodiment may be adjusted, but should not influence the normal runningof the application. Therefore, the period may be set specificallyaccording to the longest tolerant delay time of the application, andcannot exceed the longest tolerant delay time. The wake-up timecorresponding to the alarm set indication is set by the applicationaccording to its timing and the interaction requirement with the networkserver, generally has certain limits, and cannot be delayed randomly.Further, in the foregoing processing process of merging multiple wake-uptimes into the second alarm wake-up time according to the heartbeatmoment, if wake-up times indicated by some special application cannot beadjusted, the times of the applications are ignored and not adjusted,and the wake-up of the intelligent terminal is still executed accordingto the wake-up time indicated by the application.

For example, if the Alarm Manager Service receives an alarm setindication sent by a certain application, the indicated wake-up time is,for example, at 5 minutes and 20 seconds. The Alarm Manager Servicefirst judges whether the wake-up time is allowed to be adjusted, and ina specific implementation, information of the application not allowingthe wake-up time indicated by the alarm set indication to be adjusted isstored in advance in the Alarm Manager Service. For example, the wake-uptimes indicated by the application 1 are not allowed to be adjusted, andwhen receiving the alarm set indication, the Alarm Manager Service mayjudge whether the application sending the alarm set indication is theapplication 1. If yes, it is determined that the wake-up timecorresponding to the alarm set indication is not allowed to be adjusted,and the Alarm Manager Service does not adjust the wake-up time, keepsthe wake-up time unchanged and wakes up the intelligent terminal at thismoment. Otherwise, if the application is not the application 1, itindicates that the wake-up time corresponding to the alarm setindication is allowed to be adjusted, and can be referred to as thefirst alarm wake-up time, and then the Alarm Manager Service, accordingto the foregoing manner, delays the first alarm wake-up timecorresponding to the alarm set indication until the first heartbeatmoment later than the first alarm wake-up time.

303: Wake up the intelligent terminal at the second alarm wake-up time.

The Alarm Manager Service, after delaying the multiple first alarmwake-up times until the first heartbeat moment later than the firstalarm wake-up time, wakes up the intelligent terminal at the firstheartbeat moment, that is, each heartbeat moment T0 to T4 in FIG. 6, andthe specific manner of waking up the intelligent terminal is aconventional art, which is not repeatedly described.

As described at the beginning of this embodiment, as for the N^(th)heartbeat moment and the (N+1)^(th) heartbeat moment, N is a naturalnumber, in the foregoing embodiment, illustration is made by taking Nbeing a number greater than or equal to 1 as an example, for example,the “heartbeat moment 51 and heartbeat moment 52” shown in FIG. 5 may bethe “first heartbeat moment and second heartbeat moment” or may also bethe “fourth heartbeat moment and fifth heartbeat moment” on the wholetime axis (in this case, the heartbeat moments at the front are notshown on the time axis of FIG. 5). Moreover, when N is 0, by taking FIG.5 as an example, it is equivalent to the heartbeat moment 51 notexisting, and only the heartbeat moment 52 exists after the first alarmwake-up times 41 to 43. In this way, the heartbeat moment 52 is actuallythe first heartbeat moment since no heartbeat moment exists at thefront. In this embodiment, the first alarm wake-up times are mainlydelayed to the first heartbeat moment later than the first alarm wake-uptimes.

Embodiment 3 will now be described. FIG. 7 is a schematic flow chart ofanother embodiment of a wake-up control method for an intelligentterminal of embodiments of the present invention, and adjustment controlinformation in this embodiment is a longest tolerant delay time of thefirst alarm wake-up time.

As shown in FIG. 7, the method may include the following steps.

701: Receive multiple alarm set indications sent by an application ofthe intelligent terminal.

An alarm timing and sequence determined in the multiple alarm setindications received by an Alarm Manager Service still takes the alarmtiming and sequence shown in FIG. 4 as an example. For the illustrationto the timing and sequence, reference may be made to Embodiment 2, whichis not repeatedly described.

702: Delay multiple first alarm wake-up times until a second alarmwake-up time, the second alarm wake-up time is in a range of the longesttolerant delay time of each first alarm wake-up time, and is the firstalarm wake-up time with the latest time in the multiple first alarmwake-up times.

An optional manner of delaying the multiple first alarm wake-up timesuntil the second alarm wake-up time is illustrated by an example in thefollowing. The Alarm Manager Service receives the first alarm wake-uptimes one by one, respectively, and judges the longest tolerant delaytime of each first alarm wake-up time step by step. That is, judgment isperformed every time a first alarm wake-up time is received. The exampleis described as follows.

First Step: Receive a First Alarm Wake-Up Time 41 and a First AlarmWake-Up Time 42.

The Alarm Manager Service may receive first alarm wake-up timesindicated by multiple applications on the intelligent terminal, and withreference to FIG. 4, it is assumed that the current Alarm ManagerService receives an alarm set indication corresponding to the firstalarm wake-up time 41, then receives a set indication of the first alarmwake-up time 42, and in this case, the first alarm wake-up time 41 doesnot reach yet. When receiving the indication of the first alarm wake-uptime 42, the Alarm Manager Service judges whether the first alarmwake-up time 42 is in the range of the longest tolerant delay time ofthe first alarm wake-up time 41.

Specifically, the Alarm Manager Service determines the longest tolerantdelay time of the first alarm wake-up time 41, where the longesttolerant delay time is the longest delay time which can be toleratedwithout influencing the normal running of an application 1. For example,the longest tolerant delay time is 2 minutes, it indicates that thefirst alarm wake-up time 41 indicated by the application can be delayedfor 2 minutes at most before wake-up is performed. If the Alarm ManagerService determines that the first alarm wake-up time 42 is in the rangeof the longest tolerant delay time of the first alarm wake-up time 41,that is, the application allows the first alarm wake-up time 41 to bedelayed until the first alarm wake-up time 42, the Alarm Manager Serviceexecutes: delaying the first alarm wake-up time 41 until the first alarmwake-up time 42, which indicates that the wake-up is not executed whenthe first alarm wake-up time 41 reaches, and the time for wake-up isdelayed until the first alarm wake-up time 42. The first alarm wake-uptime 42 is referred to the second alarm wake-up time.

Second Step: Receive a First Alarm Wake-Up Time 43.

In this case, it is assumed that the current time does not reach thefirst alarm wake-up time 42, and the Alarm Manager Service receives theindication of the first alarm wake-up time 43. The Alarm Manager Servicecontinues to judge whether the first alarm wake-up time 43 is in therange of the longest tolerant delay time of the first alarm wake-up time41, meanwhile, whether the first alarm wake-up time 43 is in a range ofa longest tolerant delay time of the first alarm wake-up time 42. If thefirst alarm wake-up time 43 satisfies the limit of the longest tolerantdelay times of the previous two first alarm wake-up times, that is, isin the range of the previous two longest tolerant delay times, the AlarmManager Service executes: delaying the first alarm wake-up time 41 andthe first alarm wake-up time 42 until the first alarm wake-up time 43.In this case, the first alarm wake-up time 43 is referred to as thesecond alarm wake-up time.

If the first alarm wake-up time 43 cannot satisfy the limit of longesttolerant delay times of the previous two first alarm wake-up times, forexample, the first alarm wake-up time 43 is in the range of the longesttolerant delay time of the first alarm wake-up time 41, but is not inthe range of the longest tolerant delay time of the first alarm wake-uptime 42. Alternatively, the first alarm wake-up time 43 is only in therange of the longest tolerant delay time of the first alarm wake-up time42. The Alarm Manager Service executes: determining to delay the firstalarm wake-up time 41 until the first alarm wake-up time 42 only, endingthe first merging, and restarting to execute the merging of the firstalarm wake-up time 43 and a later first alarm wake-up time; in thiscase, it is equivalent that the first alarm wake-up time 42 isdetermined as the second alarm wake-up time.

When the Alarm Manager Service receives multiple first alarm wake-uptimes, the delay processing method of the first alarm wake-up times isthe same as the foregoing method. That is, every time when receiving afirst alarm wake-up time, the Alarm Manager Service performs judgment onthe longest tolerant delay time so as to judge whether the newlyreceived first alarm wake-up time is in the range of the longesttolerant delay times of all previous first alarm wake-up times. If yes,the Alarm Manager Service continuously delays the previous times untilthe newly received first alarm wake-up time. Otherwise, the AlarmManager Service determines the last time before the newly received firstalarm wake-up time as the second alarm wake-up time, and ends the delayprocessing of the previous stage. It should be noted that, in thisembodiment, as for each first alarm wake-up time, different longesttolerant delay times are set according to different settings of thecorresponding applications.

The alarm timing and sequence shown in FIG. 4, after being merged by themethod in this embodiment, becomes the sequence shown in FIG. 8. FIG. 8is a schematic diagram of merging of alarm wake-up times in anotherembodiment of a wake-up control method for an intelligent terminal ofembodiments of the present invention. Originally 14 first alarm wake-uptimes in the FIG. 4 are merged to 4 second alarm wake-up times, that is,a second alarm wake-up time 81 to a second alarm wake-up time 84 shownin FIG. 8. The second alarm wake-up times are the first alarm wake-uptimes with the latest time that are in the range of the longest tolerantdelay time and are determined according to the foregoing method. Forexample, the second alarm wake-up time 81 shows that the first alarmwake-up time 41 to the first alarm wake-up time 45 in the foregoingTable 1 are merged, so that the five first alarm wake-up times initiatean Alarm at the first alarm wake-up time 45. As compared with theconventional solutions, in this embodiment, it is only required to setan Alarm at the four second alarm wake-up times, so as to wake up theintelligent terminal, and the wake-up originally required to be executedfive times can be executed once now, thereby greatly reducing the systempower consumption of the intelligent terminal.

Further, in the delay processing manner of this embodiment, whenperforming the judgment of the longest tolerant delay time, the AlarmManager Service may also first judge whether the wake-up timecorresponding to the alarm set indication is allowed to be adjusted. Ifit is allowed, execute delaying the multiple first alarm wake-up timesuntil the second alarm wake-up time; otherwise, do not perform anyadjustment on the wake-up time, that is, still wake up the terminal atthe wake-up time. For example, some specific alarms in the intelligentterminal (for example, alarms of special application and system) are notallowed to be delayed.

Moreover, the setting of the longest tolerant delay time of eachapplication is the same as the setting of the heartbeat moment inEmbodiment 2, and cannot influence the normal running of the applicationeither. That is, the longest tolerant delay time of the application maybe obtained through testing or automatic learning, and it should beensured that the longest tolerant delay time does not influence thenormal running of the application.

Optionally, the delay of the wake-up time may also be performed in thefollowing manner. For example, in the foregoing judging manner, when thefirst alarm wake-up time 42 is received, the first alarm wake-up time 42may be increased by its corresponding longest tolerant delay time. It isassumed that a delayed time A is obtained after the first alarm wake-uptime 42 is increased by the longest tolerant delay time, and it isassumed that a delayed time B is obtained after the first alarm wake-uptime 41 is increased by its corresponding longest tolerant delay time.Then, the delayed time A and the delayed time B are compared, and theearliest one of the two is selected to serve as the second alarm wake-uptime. In this case, it can be ensured that the second alarm wake-up timeis in the range of the longest tolerant delay times of the first alarmwake-up time 42 and the first alarm wake-up time 41.

That is, the second alarm wake-up time is an earliest one in delayedtimes corresponding to the at least two first alarm wake-up times, andthe delayed time is obtained after delaying the first alarm wake-up timeby the corresponding longest tolerant delay time.

703: Wake up the intelligent terminal at the second alarm wake-up time.

The wake-up control method for an intelligent terminal of thisembodiment can effectively reduce the number of wake-ups of the systemin the standby state, so as to effectively reduce the power consumptionof the intelligent terminal system. Verification is performed on anAndroid smart phone according to the foregoing method, when testing inthe same condition, a standby current of the smart phone after beingadjusted according to the method of the embodiment of the presentinvention can be reduced by about 10 to 40%, thereby significantlyreducing the power consumption.

The effect of the embodiment of the present invention may be illustratedwith reference to FIG. 9 and FIG. 10. FIG. 9 is a first schematicdiagram of electricity consumption in an embodiment of a wake-up controlmethod for an intelligent terminal of embodiments of the presentinvention, and FIG. 10 is a second schematic diagram of electricityconsumption in an embodiment of a wake-up control method for anintelligent terminal of embodiments of the present invention. It can beseen from FIG. 9 that, by taking an application 1 to an application 4 asan example, before adjustment through adopting the method of theembodiment of the present invention, the applications execute thewake-up of the intelligent terminal, respectively. Therefore, theapplication 1 generates electricity consumption 91 and electricityconsumption 92 when waking up the terminal, where the electricityconsumption 91 is the electricity consumed when the application 1 wakesup the intelligent terminal, and the electricity consumption 92 is theelectricity consumed after the application 1 completes interaction withits network server and before the connection is broke. This is becauseeven the application 1 completes the interaction, the intelligentterminal also has a detection process for detecting whether theapplication 1 still has data transmission with the network server, andwhether interaction is being performed; if no interaction between thetwo is detected in a period of time, the intelligent terminal judgesthat the interaction between the application 1 and the network server iscomplete, and breaks the connection. Then, the electricity is stillconsumed in the period of time for detection, that is, the electricityconsumption 92. Electricity consumption 93 exists between theelectricity consumption 91 and the electricity consumption 92, and thisis the electricity consumed when the application 1 interacts with itsnetwork server. Similarly, the application 2 also generates electricityconsumption 94, electricity consumption 95, and electricity consumption96 when running; another application is similar to this, which is notrepeatedly described.

Referring to FIG. 10, originally four applications require waking up theterminal through four different alarms, respectively, and requireexecuting wake-up four times. After adopting the wake-up control methodfor the intelligent terminal of embodiments of the present invention, inan embodiment of the present invention, the four applications wake upthe terminal through one alarm, and only require wake-up once. Forexample, as shown by W in FIG. 6, originally four first alarm wake-uptimes (corresponding to the application 1 to the application 4,respectively) exist, the four first alarm wake-up times are delayeduntil the heartbeat moment T1 for being merged, and only one alarmwake-up is executed, thereby greatly reducing the number of wake-ups.Moreover, it can also be obviously seen from the electricity consumptiondiagram of FIG. 10 that, for example, after waking up the intelligentterminal at the T1 moment, the application 1 to the application 4 startinteraction with their respective network servers, and finally, afterthe four applications all complete the interaction, the intelligentterminal breaks the connection with the network server. Therefore,during this process, only electricity consumption 1001 for waking up theterminal and electricity consumption 1002 before the connection isbroken exist. Compare FIG. 9 and FIG. 10, it is very obvious that theelectricity is greatly saved.

The reducing the power consumption of the intelligent terminal describedin this embodiment includes the power consumption before and after theinteraction of the application. For example, the electricity consumption94 and the electricity consumption 95 of the application 2 shown in FIG.9, after adopting the method of the embodiment of the present invention,in FIG. 10, it is equivalent that the electricity consumption 94 and theelectricity consumption 95 generated by the application 2 do not exist.In FIG. 9, the four applications totally have 8 parts of electricityconsumption (each application has two parts before and after theinteraction, for example, the electricity consumption 94 and theelectricity consumption 95), and in FIG. 10, only 2 parts of electricityconsumption, that is, the electricity consumption 1001 and theelectricity consumption 1002 exist, thereby reducing the powerconsumption of the intelligent terminal.

Moreover, the manner of Embodiment 2 is generally selected to performdelay processing, this is because in this manner, the heartbeat momentis fixedly set periodically, and it is simple to implement the manner.However, when the intelligent terminal has applications with relativelylong periods and suitable for being merged by adopting the manner ofEmbodiment 3, and the number of wake-ups after merging is less than thenumber of wake-ups in the manner of Embodiment 2, it is preferable thatEmbodiment 3 is adopted. That is, in specific implementation, the twodelay processing manners may be selected according to the actualsituation.

In the embodiment of the present invention, optimization and adjustmentare performed on the Alarm Manager Service in the intelligent terminal,and the applications are not limited and modified, for example, theapplications still send alarm set indications for first alarm wake-uptimes to the Alarm Manager Service regularly according to theirrespective settings. In the embodiment of the present invention, whenreceiving the applications sent by the applications, the Alarm ManagerService only performs delay execution of the first alarm wake-up timesindicated by the indications, so that the implementation is simple, andinvolves relatively small alternation.

Another embodiment provides a wake-up control method for an intelligentterminal, and the method is applicable to a solution of periodicallysetting heartbeat moments.

By taking a certain application on the intelligent terminal as anexample, the application periodically sends an alarm set indication toindicate a first alarm wake-up time determined by the application forwaking up the intelligent terminal, and a first time exists as aninterval between each first alarm wake-up time and a first alarm wake-uptime received last time. For example, it is assumed that the first timeis 4 minutes, that is, the first alarm wake-up time set by theapplication indication is set every 4 minutes, that is, the terminal iswoken every 4 minutes, so that the intelligent terminal is woken 15times in 1 hour.

In this embodiment, periodical heartbeat moments are set, a set periodof the heartbeat moments is a second time, and the second time is longerthan the first time, for example, the second time is 5 minutes, that is,the heartbeat moment is set every 5 minutes. After receiving the alarmset indication sent by the application, the wake-up control apparatusdelays its indicated first alarm wake-up time until an earliestheartbeat moment after the first alarm wake-up time, where the heartbeatmoment until which the first alarm wake-up time is delayed may bereferred to as a second alarm wake-up time, and wakes up the intelligentterminal at the second alarm wake-up time.

For example, by using the time 0^(th) minute on the time axis as astart, a heartbeat moment is set at a 5^(th) minute, and the applicationis set to execute one wake-up at a 4^(th) minute. According to thesolution of embodiments of the present invention, a wake-up controlapparatus of the intelligent terminal delays the 4^(th) minute indicatedby the application until the 5^(th) minute. That is, the wake-up controlapparatus executes the wake-up at the 5^(th) minute. Similarly, theapplication then indicates setting a wake-up time at a 9^(th) minute,and the heartbeat moment is set at a 10^(th) minute. Then, the wake-upcontrol apparatus delays the 9^(th) minute until the 10^(th) minute, andso on. It can be obtained that, by setting the heartbeat moment, theoriginal 4-minute wake-up period of the application is modified to a5-minute wake-up period, and the number of wake-ups within 1 hour isreduced to 12 from 15, thereby achieving the objective of reducing theenergy consumption of the terminal.

An embodiment of the present invention further provides a wake-upcontrol apparatus for an intelligent terminal. The apparatus can executeany method embodiment of the present invention, the apparatus is locatedin an Alarm Manager Service, and may be a part of the Alarm ManagerService, and the Alarm Manager Service may execute the foregoing methodembodiments through the apparatus.

FIG. 11 is a schematic structural diagram of an embodiment of a wake-upcontrol apparatus for an intelligent terminal of embodiments of thepresent invention, and as shown in FIG. 11, the apparatus may include anindication receiving unit 1101 and a wake-up control unit 1102.

The indication receiving unit 1101 is configured to receive at least twoalarm set indications sent by one or more applications of theintelligent terminal, where the alarm set indication is used to indicatea first alarm wake-up time determined by an application for waking upthe intelligent terminal.

The wake-up control unit 1102 is configured to delay, at least two of atleast two first alarm wake-up times corresponding to the at least twoalarm set indications, until a second alarm wake-up time determinedaccording to preset adjustment control information, and wake up theintelligent terminal at the second alarm wake-up time.

FIG. 12 is a schematic structural diagram of another embodiment of awake-up control apparatus for an intelligent terminal of the presentinvention. In this embodiment, on the basis of the structure in FIG. 11,the wake-up control unit 1102 may include: an information storagesubunit 1201, a delay processing subunit 1202, and a wake-up triggeringsubunit 1203.

The information storage subunit 1201 is configured to store the presetadjustment control information, where the adjustment control informationis multiple periodically set heartbeat moments, the periodically setheartbeat moments include an N^(th) heartbeat moment and an (N+1)^(th)heartbeat moment that are adjacent to each other, the time of the(N+1)^(th) heartbeat moment is later than that of the N^(th) heartbeatmoment, and the N is a natural number.

The delay processing subunit 1202 is configured to delay, at least twoof the at least two first alarm wake-up times between the N^(th)heartbeat moment and the (N+1)^(th) heartbeat moment, until the(N+1)^(th) heartbeat moment, where the (N+1)^(th) heartbeat moment isthe second alarm wake-up time; and the at least two first alarm wake-uptimes exist between the N^(th) heartbeat moment and the (N+1)^(th)heartbeat moment.

The wake-up triggering subunit 1203 is configured to wake up theintelligent terminal at the second alarm wake-up time.

FIG. 13 is a schematic structural diagram of another embodiment of awake-up control apparatus for an intelligent terminal of embodiments ofthe present invention. In this embodiment, on the basis of the structurein FIG. 11, the wake-up control unit 1102 may include: an informationstorage subunit 1301, a delay processing subunit 1302, and a wake-uptriggering subunit 1303.

The information storage subunit 1301 is configured to store the presetadjustment control information, where the adjustment control informationis a longest tolerant delay time of the first alarm wake-up time.

The delay processing subunit 1302 is configured to delay at least two ofthe at least two first alarm wake-up times until a second alarm wake-uptime, where the second alarm wake-up time is the first alarm wake-uptime with the latest time in the at least two first alarm wake-up timesand is in a range of a longest tolerant delay time of the other firstalarm wake-up time in the at least two first alarm wake-up times.

The wake-up triggering subunit 1303 is configured to wake up theintelligent terminal at the second alarm wake-up time.

Further, the delay processing subunit 1302 may further be configured todelay at least two of the at least two first alarm wake-up times until asecond alarm wake-up time, where the second alarm wake-up time is anearliest one in delayed times corresponding to the at least two firstalarm wake-up times, and the delayed time is obtained after delaying thefirst alarm wake-up time by the corresponding longest tolerant delaytime.

Further, the delay processing subunit 1302 may include: a tolerancejudging subunit 1401 and a delay determining subunit 1402.

The tolerance judging subunit 1401 is configured to judge whether thefirst alarm wake-up time corresponding to the currently received alarmset indication is in the range of the longest tolerant delay time, wherethe longest tolerant delay time includes longest tolerant delay timescorresponding to other first alarm wake-up times before the first alarmwake-up time.

The delay determining subunit 1402 is configured to, when a judgmentresult is yes, delay the other first alarm wake-up times until the firstalarm wake-up time, and the first alarm wake-up time is the second alarmwake-up time; otherwise, determine the first alarm wake-up time with thelatest time in the other first alarm wake-up times to be the secondalarm wake-up time, and delay the other first alarm wake-up times untilthe second alarm wake-up time; the other first alarm wake-up times arethe at least two first alarm wake-up times.

Further, the wake-up control unit 1102 in this embodiment isspecifically configured to modify, at least two of the at least twofirst alarm wake-up times corresponding to the at least two alarm setindications, into the second alarm wake-up time determined according tothe preset adjustment control information.

The wake-up control apparatus for the intelligent terminal in theembodiment of the present invention is applied to the intelligentterminal, the intelligent terminal is a terminal having an intelligentoperating system, such as a smart phone, an intelligent tablet computer,and an Ultrabook, and by adopting the apparatus, the number of waking upthe intelligent terminal can be reduced, thereby reducing the powerconsumption of the intelligent terminal.

An embodiment provides a wake-up control apparatus for an intelligentterminal. The wake-up control apparatus includes an indication receivingunit, configured to receive an alarm set indication sent by anapplication of the intelligent terminal. The alarm set indication isused to indicate a first alarm wake-up time determined by theapplication for waking up the intelligent terminal. A first time existsas an interval between the first alarm wake-up time and a first alarmwake-up time received last time. The wake-up control apparatus alsoincludes a wake-up control unit, configured to delay the first alarmwake-up time until a second alarm wake-up time. The second alarm wake-uptime is an earliest heartbeat moment after the first alarm wake-up timein periodically set heartbeat moments, a set period of the heartbeatmoment is a second time, and the second time is longer than the firsttime. The wake-up control unit is further configured to wake up theintelligent terminal at the second alarm wake-up time.

Another embodiment provides an intelligent terminal, the intelligentterminal includes a wake-up control apparatus as described inembodiments of the present invention, and the wake-up control apparatusmay be configured to execute the method in the embodiment of the presentinvention.

FIG. 14 is a schematic structural diagram of an intelligent terminalapplied by a wake-up control apparatus for an intelligent terminal ofembodiments of the present invention. As shown in FIG. 14, theintelligent terminal may be a terminal device such as a mobile phone, atablet computer, a personal digital assistant (PDA), a point of sales(POS), and a car computer. By taking the intelligent terminal being amobile phone as an example, FIG. 14 shows a block diagram of a part ofthe structure of a mobile phone 500 related to the intelligent terminalaccording to the embodiment of the present invention.

Referring to FIG. 14, the mobile phone 500 includes components such as aradio frequency (RF) circuit 510, a storage 520, an input unit 530, adisplay unit 540, a sensor 550, an audio circuit 560, a wirelessfidelity (WiFi) module 570, a processor 580, and a power source 590.Persons skilled in the art can understand that, the structure of themobile phone shown in FIG. 14 is only an example of an implementationmanner, and does not intend to limit the mobile phone, and the structuremay include components more or less than those shown in the drawing, ormay combine some components, or may have different component deployment.

Construction components of the mobile phone 500 are specificallyintroduced in the following with reference to FIG. 14.

The RF circuit 510 may be configured to receive and send information, orreceive and send a signal during a call process, particularly, receivedownlink information of a base station, and send to the processor 580for processing. In addition, RF circuit 510 may be configured to senddesigned uplink data to the base station. Generally, the RF circuit 510includes, but not limited to, an antenna, at least one amplifier, atransceiver, a coupler, a low noise amplifier (LNA), a duplexer, and soon. Moreover, the RF circuit 510 may also communicate with anotherdevice through wireless communication and a network. The wirelesscommunication may use any communication standard or protocol, including,but not limited to, global system of mobile communication (GSM), generalpacket radio service (GPRS), code division multiple access (CDMA),wideband code division multiple access (see WCDMA), and so on.

The storage 520 may be configured to store a software program andmodule. The processor 580, by running the software program and modulestored in the storage 520, executes various functional application anddata processing of the mobile phone 500. The storage 520 may mainlyinclude a program storage area and a data storage area, where theprogram storage area may store an operating system, an applicationrequired by at least one function (such as sound playing function andimage playing function), and so on. The data storage area may store datacreated according to the usage of the mobile phone 500 (such as audiodata and telephone book), and so on. Moreover, the storage 520 mayinclude a high-speed random-access memory, and may further include anonvolatile storage, such as at least one magnetic disk memory, a flashmemory, or another volatile solid memory.

The input unit 530 may be configured to receive input number orcharacter information, and generate key signal input related to usersetting and function control of the mobile phone 500. Specifically, theinput unit 530 may include a touch panel 531 and another input device532. The touch panel 531, also referred to as a touchscreen, can collecta touch operation, on or near the touch panel, of a user (for example,an operation of the user on the touch panel 531 or near the touch panel531 by using any suitable object or accessory such as a finger or atouchpen), and drive a corresponding connection apparatus according to apreset program. Optionally, the touch panel 531 may include two parts: atouch detection apparatus and a touch controller. The touch detectionapparatus detects a touch direction of the user, detects a signalbrought by the touch operation, and transmits the signal to the touchcontroller; the touch controller receives touch information from thetouch detection apparatus, converts the information to coordinates of atouch point, and sends the coordinates to the processor 580, and thetouch controller can also receive a command sent by the processor 580and execute the command. Moreover, the touch panel 531 may beimplemented in various types such as a resistance-type, acapacitance-type, an infrared type, and a surface acoustic wave type. Inaddition to the touch panel 531, the input unit 530 may further includeanother input device 532. Specifically, the another input device 532 mayinclude, but not limited to, one or more of a physical keyboard, afunctional key (such as a volume control key and a switch key), atrackball, a mouse, and an operating level.

The display unit 540 may be configured to display information input bythe user or information provided for the user and various menus of themobile phone 500. The display unit 540 may include a display panel 541,and optionally, the display panel 541 may be configured in form of aliquid crystal display (LCD), an organic light-emitting diode (OLED),and so on. Further, the touch panel 531 may cover the display panel 541,when detecting the touch operation on or near the touch panel, the touchpanel 531 transmits the touch operation to the processor 580 todetermine a type of a touch event, and then the processor 580 providescorresponding visual output on the display panel 541 according to thetype of the touch event. In FIG. 14, the touch panel 531 and the displaypanel 541 are used as two independent components to implement input andoutput functions of the mobile phone 500, however, in some embodiments,the touch panel 531 and the display panel 541 may be integrated toimplement the input and output functions of the mobile phone 500.

The mobile phone 500 may further include at least one sensor 550, suchas an optical sensor, a motion sensor, and another sensor. Specifically,the optical sensor may include an ambient light sensor and a proximitysensor, where the ambient light sensor may adjust the brightness of thedisplay panel 541 according to the brightness of the ambient light, andthe proximity sensor may close the display panel 541 and/or backlightwhen the mobile phone 500 is moved near the ear. As a motion sensor, anaccelerometer sensor may detect values of accelerations in variousdirections (generally in three axes), may detect the value and directionof the gravity when being static, and may be configured to identifyapplications of a mobile phone gesture (for example, switching betweenportrait and landscape orientation, related games, and magnetometergesture correction), vibration identification related function (such asa pedometer, and knocks), and so on. The mobile phone 500 may be furtherconfigured with a gyroscope, a barometer, a hygrometer, a thermometer,an infrared sensor, and other sensors, which are not repeatedlydescribed here again.

The audio circuit 560, a loud speaker 561, and a microphone 562 mayprovide audio interfaces between the user and the mobile phone 500. Theaudio circuit 560 may transmit an electrical signal converted from thereceived audio data to the loudspeaker 561, and the loudspeaker 561converts the electrical signal to a sound signal for output; on theother hand, the microphone 562 converts a collected sound signal into anelectrical signal, the audio circuit 560 receives the electrical signal,converts the electrical signal into the audio data, and output the audiodata to the processor 580 for processing, and then the processed audiodata is sent to, for example, another mobile phone through the RFcircuit 510, or the audio data is output to the storage 520 for furtherprocessing.

WiFi belongs to a short-distance wireless transmission technology. Themobile phone 500 may help the user to receive and send emails, browseWebPages, access stream media, and so on, through the WiFi module 570,and the WiFi module 570 provides wireless broadband Internet access forthe user. FIG. 14 shows the WiFi module 570, however, it should beunderstood that, it is not necessary for the construction of the mobilephone 500, and can completely be omitted according to requirements andwithout changing the scope of the essence of the present invention.

The processor 580 is a control center of the mobile phone 500. Theprocessor 580 connects to various parts of the whole mobile phone byusing various interfaces and lines, and executes various functions ofthe mobile phone 500 and processes data through running or executingsoftware program and/or module stored in the storage 520 and invokingthe data stored in the storage 520, so as to perform whole monitoring onthe mobile phone. Optionally, the processor 580 may include one or moreprocessing units. Preferentially, the processor 580 may integrate anapplication processor and a modulation-demodulation processor, where theapplication processor mainly processes the operating system, a userinterface, an application, and so on, and the modulation-demodulationprocessor mainly processes wireless communication. It should beunderstood that, the modulation-demodulation processor may also not beintegrated in the processor 580.

The mobile phone 500 further includes the power source 590 (for example,a battery) supplying power for various parts, and preferentially, thepower source may be logically connected to the processor 580 through apower source management system, so as to implement functions, such ascharging management, discharging, and power consumption management,through the power source management system.

Although not shown, the mobile phone 500 may further include a camera, aBluetooth module, and so on, which are not repeatedly described hereagain.

In an embodiment of the present invention, a program storage area in thestorage 520 of the intelligent terminal stores a program code used toexecute the method in the embodiment of the present invention, and adata storage area stores first alarm wake-up times corresponding tomultiple alarm set indications sent by the applications, and determinedsecond alarm wake-up times, and so on. The processor 580 in thisembodiment may invoke the program code and relevant information whichare stored in the storage 520 to execute the following processing:receiving at least two alarm set indications sent by one or moreapplications of the intelligent terminal, where the alarm set indicationis used to indicate a first alarm wake-up time determined by theapplication for waking up the intelligent terminal, and delaying, atleast two of at least two first alarm wake-up times corresponding to theat least two alarm set indications, until a second alarm wake-up timedetermined according to preset adjustment control information, andwaking up the intelligent terminal at the second alarm wake-up time.

The processor may be further configured to execute other steps in themethod embodiment, which are not described one by one here.

Persons of ordinary skill in the art should understand that all or apart of the steps of the foregoing method embodiments may be implementedby a program instructing relevant hardware. The program may be stored ina computer readable storage medium. When the program is executed, thesteps of the foregoing method embodiments are performed. The foregoingstorage medium may be various mediums capable of storing program codes,such as a ROM, a RAM, a magnetic disk, or a compact disk, and so on.

Finally, it should be noted that the foregoing embodiments are merelyintended for describing the technical solutions of the present inventionother than limiting the present invention. Although the presentinvention is described in detail with reference to the foregoingembodiments, persons of ordinary skill in the art should understand thatthey can still make modifications to the technical solutions recorded inthe foregoing embodiments, or make equivalent replacements to some orall of the technical features in the technical solutions; and thesemodifications or replacements do not make the essence of correspondingtechnical solutions depart from the scope of the technical solutions ofthe embodiments of the present invention.

What is claimed is:
 1. A method, comprising: receiving, by an apparatusof a terminal, a first indication from a first software application ofthe terminal, the first indication indicating a first time for waking upthe terminal to connect to a first network server, the first indicationbeing received by the apparatus at a fourth time that is earlier thanthe first time, wherein the first time for waking up the terminal isallowed to be delayed to a later time that is not later than a maximumfirst time, wherein the apparatus sets an actual start time for wakingup the terminal, and, after receiving the first indication, theapparatus sets the actual start time for waking up the terminal to bethe first time; receiving, by the apparatus, a second indication from asecond software application of the terminal at a fifth time that isearlier than the first time, the second indication indicating a secondtime for waking up the terminal to connect to a second network server,the second indication being received by the apparatus at the fifth timethat is earlier than the second time, wherein the second time is allowedto be delayed to a later time that is not later than a maximum secondtime; when the second time is the same as, or later than, the firsttime, and the second time is the same as, or earlier than, the maximumfirst time, resetting, by the apparatus, the actual start time forwaking up the terminal to be the second time; receiving, by theapparatus, a third indication from a third software application of theterminal at a sixth time that is earlier than the second time, the thirdindication indicating a third time for waking up the terminal to connectto a third network server, the third indication being received by theapparatus at the sixth time that is earlier than the third time, whereinthe third time is allowed to be delayed to a later time that is notlater than a maximum third time; and when the third time is the same as,or later than, the second time, and the third time is the same as, orearlier than, each of the maximum first time and the maximum secondtime, resetting, by the apparatus, the actual start time for waking upthe terminal to be the third time.
 2. The method of claim 1, wherein themaximum first time is an acceptable delay by the first softwareapplication, and the maximum second time is an acceptable delay by thesecond software application.
 3. The method of claim 1, wherein theterminal is in a dormant state before the terminal is woken up.
 4. Themethod of claim 1, wherein at least one of the first indication, thesecond indication or the third indication is periodically received. 5.The method of claim 1, further comprising: when the third time is thesame as, or later than, the second time, and the third time is the sameas, or earlier than, each of the maximum first time and the maximumsecond time, avoiding waking up the terminal in accordance with thefirst time and avoiding waking up the terminal in accordance with thesecond time.
 6. The method of claim 1, further comprising: receiving afourth indication from a fourth software application of the terminal,the fourth indication indicating a seventh time for waking up theterminal to connect to a fourth network server, the fourth indicationbeing received by the apparatus at a eighth time that is earlier thanthe third time and earlier than the seventh time, wherein the seventhtime is allowed to be delayed until a later time that is not later thana maximum seventh time; and when the seventh time is the same as, orlater than, the third time, and the seventh time is the same as, or lessthan, each of the maximum first time, the maximum second time and themaximum third time, resetting the actual start time for waking up theterminal to be the seventh time.
 7. The method of claim 1, wherein thefirst indication further indicates the maximum first time.
 8. The methodof claim 1, wherein the second indication further indicates the maximumsecond time.
 9. The method of claim 1, wherein the third indicationfurther indicates the maximum third time.
 10. The method of claim 1,wherein at least one of the maximum first time, the maximum second timeand the maximum third time is obtained by testing.
 11. The method ofclaim 1, wherein at least one of the maximum first time, the maximumsecond time and the maximum third time is obtained by automaticlearning.
 12. The method of claim 1, further comprising: waking up theterminal at the third time to connect to the first network server, thesecond network server and the third network server.
 13. An apparatus,comprising: at least one processor; and a non-transitory computerreadable medium, disposed in a terminal and coupled to the at least oneprocessor, the non-transitory computer readable medium storingcomputer-executable code which, when executed, instructs the apparatusto: receive a first indication from a first software application of theterminal, the first indication indicating a first time for waking up theterminal to connect to a first network server, the first indicationbeing received by the apparatus at a fourth time that is earlier thanthe first time, wherein the first time is allowed to be delayed to alater time that is not later than a maximum first time, wherein theapparatus sets an actual start time for waking up the terminal, and,after receiving the first indication, the apparatus sets the actualstart time for waking up the terminal to be the first time; receive asecond indication from a second software application of the terminal ata fifth time that is earlier than the first time, the second indicationindicating a second time for waking up the terminal to connect to asecond network server, the second indication being received at the fifthtime that is earlier than the second time, wherein the second time isallowed to be delayed to a later time that is not later than a maximumsecond time; when the second time is the same as, or later than, thefirst time, and the second time is the same as, or earlier than, themaximum first time, resetting the actual start time for waking up theterminal to be the second time; receiving a third indication from athird software application of the terminal at a sixth time that isearlier than the second time, the third indication indicating a thirdtime for waking up the terminal to connect to a third network server,the third indication being received at the sixth time that is earlierthan the third time, wherein the third time is allowed to be delayed toa later time that is not later than a maximum third time; and when thethird time is the same as, or later than, the second time, and the thirdtime is the same as, or earlier than, each of the maximum first time andthe maximum second time, resetting the actual start time for waking upthe terminal to be the third time.
 14. The apparatus according to claim13, wherein the maximum first time is an acceptable delay by the firstsoftware application, and the maximum second time is an acceptable delayby the second software application.
 15. The apparatus according to claim13, wherein the terminal is in a dormant state before the terminal iswoken up.
 16. The apparatus according to claim 13, wherein thecomputer-executable code, when executed, further instructs the apparatusto: receiving a fourth indication from a fourth software application ofthe terminal, the fourth indication being received by the apparatus at aeighth time which is earlier than the third time, the fourth indicationindicating a seventh time for waking up the terminal to connect to afourth network server, the fourth indication being received at theeighth time which is earlier than the seventh time, wherein the seventhtime is allowed to be delayed until a later time which is not later thana maximum seventh time; and when the seventh time is the same as, orlater than, the third time, and the seventh time is the same as, orearlier than, each of the maximum first time, the maximum second timeand the maximum third time, resetting the actual start time for wakingup the terminal to be the seventh time.
 17. The apparatus according toclaim 13, wherein the first indication further indicates the maximumfirst time.
 18. The apparatus according to claim 13, wherein the secondindication further indicates the maximum second time.
 19. The apparatusaccording to claim 13, wherein the third indication further indicatesthe maximum third time.
 20. The apparatus according to claim 13, whereinthe computer-executable code, when executed, further instructs theapparatus to: wake up the terminal at the third time to connect to thefirst network server, the second network server and the third networkserver when the actual start time for waking up the terminal is thethird time.